package com.lyl.springcloud.mapper;

import com.lyl.springcloud.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author lylbell
 * @date 2021-06-07 15:14
 */
@Mapper
public interface OrderMapper {

    //创建订单
    void create(Order order);

    //修改状态
    void updateStatus(@Param("userId") Long userId, @Param("status") Integer status);
}
